package com.example.tutormanagement.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * &#064;Date: 23/06/14-15:21
 * &#064;Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Register {
    private String pid;
    private String name;
    private Short gender;
    private Short age;
    private String subj;
    private String addr;
    private String phone;
    private String profession;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
